package com.book.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.book.model.entity.BookCategory;
import com.baomidou.mybatisplus.extension.service.IService;
import com.book.model.vo.BookCategoryPageVO;

import java.util.List;

/**
 * <p>
 * 书本类别 服务类
 * </p>
 *
 * @author auto
 * @since 2025-04-02 06:38:55
 */
public interface BookCategoryService extends IService<BookCategory> {

    Page<BookCategory> getBookCategoryListByPage(Integer page, Integer size, String search);

    List<BookCategory> getBookCategoryList();

    boolean addCategory(String name);
}
